package com.suncaper.wcss.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {
    @RequestMapping("/console")
    public String console(){
        return "/views/home/console";
    }
    @RequestMapping("/")
    public String index(){
        return "login";
    }
    @RequestMapping("/index")
    public String login(){
        return "index";
    }
    @RequestMapping("/auto")
    public String auto(){
        return "/views/component/table/auto";
    }
    @RequestMapping("/upload/demo1")
    public String upload(){
        return "/views/component/upload/demo1";
    }

    @RequestMapping("/batch")
    public String batch(){
        return "pages/batch/batch-list";
    }

    @RequestMapping("/product-add")
    public String padd(){
        return "pages/product/product-add";
    }

    @RequestMapping("/product-list")
    public String plist(){
        return  "pages/product/product-list";
    }

    @RequestMapping("/application-apply")
    public String apply(){
        return  "pages/application/application-apply";
    }

    @RequestMapping("/wait-audit")
    public String waitAudit(){
        return "pages/application/application-wait-audit";
    }

    @RequestMapping("/app-list")
    public String appList(){
        return "pages/application/application-list";
    }

    @RequestMapping("/user-list")
    public String userList(){
        return "pages/user/user-list";
    }
    @RequestMapping("/user-stat")
    public String userStat(){
        return "pages/user/user-stat";
    }
}
